package com.hsj.core.utils;

/**
 * @author:Teacher黄
 * @date:Created at 2019/05/12
 */
public class StringUtil {


    /**
     * 获取setter方法
     * @param name
     * @return
     */
    public static String mkSetter(String name){
        if (name == null){
            return null;
        }
        // 首字母大写
        String first = name.substring(0,1).toUpperCase();
        return "set"+first+name.substring(1);
    }

}
